package com.htgd.gardenexpo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.htgd.gardenexpo.entity.GeConTheaterSeatTime;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author: 王秀田
 * @date: 2024/11/12 13:24
 * @description: TODO
 */
public interface GeConTheaterSeatTimeMapper extends BaseMapper<GeConTheaterSeatTime> {
    @Select("SELECT * FROM `ge_con_theater_seat_time` WHERE DATE(show_time) = #{date}")
    List<GeConTheaterSeatTime> getByDate(@Param("date") String date);
}
